package com.sunwayworld.basemodule.common.auditrecord.service;

import com.sunwayworld.basemodule.common.auditrecord.bean.LimsAuditRecordBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

public interface LimsAuditRecordService extends GenericService<LimsAuditRecordBean, Long> {

    LimsAuditRecordBean insertAuditRecord(Long businessId, String businessCode, String auditStep, String auditOperation, String remarks);

    void insertAuditRecords(List<Long> businessIds, String businessCode, String auditStep, String auditOperation, String remarks);

    void insertRecords(List<LimsAuditRecordBean> auditRecordBeans);

    void deleteByBusinessId(Long businessId);
}
